package com.yejiali.backend.entity.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @Author:yejiali
 * @Date:2025/7/15-07-15-14:24
 * @Decsription:com.yejiali.backend.entity
 * @Version:1.0
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class TokenInfo {
    //网页授权登录凭证
    @JsonProperty("access_token")
    private String accessToken;
    //用户刷新access_token
    @JsonProperty("refresh_token")
    private String refreshToken;
    //接口调用凭证超时时间
    @JsonProperty("expires_in")
    private Long expiresIn;
    //用户唯一标识
    @JsonProperty("openid")
    private String openId;
    //用户授权作用域
    private String scope;
    //用户统一标识
    @JsonProperty("unionid")
    private String unionId;
}
